b4c7e0c18735fba4c5ece2ccccb8c5858de55a2c,cu-cli/src/main/java/fr/treeptik/cloudunit/cli/commands/FileCommands.java,FileCommands,createDirectory,#String#,57
Before Change
@CliCommand(value = {"create-directory", "mkdir"}, help = "Create directory")
public String createDirectory(@CliOption(key = { "", "path" }) String path) throws ManagerResponseException {
return fileUtils.createDirectory(path);
}
@CliCommand(value = {"change-directory", "cd"}, help = "Enter into a directory")
After Change
@CliCommand(value = {"create-directory", "mkdir"}, help = "Create directory")
public String createDirectory(@CliOption(key = { "", "path" }) String path) throws ManagerResponseException {
fileUtils.createDirectory(path);
return formatter.unlessQuiet(MessageFormat.format("Directory \"{0}\" created", path));
}